package com.magus.project.yddemo.entity;

import javax.persistence.Column;
import javax.persistence.ConstraintMode;
import javax.persistence.Entity;
import javax.persistence.ForeignKey;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.magus.framework.core.entity.BaseEntity;

/**
 * 标杆值
 * 
 * @author Zhang JiaWei
 * @date 2018-01-18 15:48
 */
@Entity
@Table(name = "YDDEMO_BENCHMARK_VALUE")
public class BenchmarkValue extends BaseEntity {

	/**   */
	private static final long serialVersionUID = 1L;

	@ManyToOne
	@JoinColumn(name = "INDICATOR_DETAIL_ID_", foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT))
	private IndicatorDetail indicatorDetail;

	@Column(name = "DESIGN_VALUE_")
	private Double designValue;

	public IndicatorDetail getIndicatorDetail() {
		return indicatorDetail;
	}

	public void setIndicatorDetail(IndicatorDetail indicatorDetail) {
		this.indicatorDetail = indicatorDetail;
	}

	public Double getDesignValue() {
		return designValue;
	}

	public void setDesignValue(Double designValue) {
		this.designValue = designValue;
	}

}
